﻿using System.Collections.Generic;
using DomainModel;

namespace Services.Abstract
{
    public interface IService<T> where T : BaseEntity
    {
        void SaveOrUpdate(T entity);
        T GetById(long id);
        List<T> GetAll();
        void Delete(T entity);
    }
}
